Now, groups can retrieve a list of the contacts in that group. I probably should...
[adiumx.git] / Plugins / Purple Service / ESPurpleQQAccountViewController.m
blob40e506fa1c08575910e228d5db832b56064fb66d
1 //
2 //  ESPurpleQQAccountViewController.m
3 //  Adium
4 //
5 //  Created by Evan Schoenberg on 8/7/06.
6 //
8 #import "ESPurpleQQAccountViewController.h"
9 #import "ESPurpleQQAccount.h"
11 @implementation ESPurpleQQAccountViewController
12 - (NSString *)nibName{
13     return @"PurpleQQAccountView";
16 //Configure controls
17 - (void)configureForAccount:(AIAccount *)inAccount
19     [super configureForAccount:inAccount];
21         [checkBox_useTCP setState:[[account preferenceForKey:KEY_QQ_USE_TCP 
22                                                                                                    group:GROUP_ACCOUNT_STATUS] boolValue]];
23         [checkBox_useTCP setLocalizedString:AILocalizedString(@"Connect using TCP", nil)];
25         [label_connection setLocalizedString:AILocalizedString(@"Connection:", nil)];
28 //Save controls
29 - (void)saveConfiguration
31         [account setPreference:[NSNumber numberWithBool:[checkBox_useTCP state]] 
32                                         forKey:KEY_QQ_USE_TCP group:GROUP_ACCOUNT_STATUS];
34         [super saveConfiguration];
37 @end